package com.masterclient.app.modules.main.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.main.beans.ScanDataBean;
import com.masterclient.app.modules.main.beans.ScanWelfareBean;

public interface ScanContract {

    interface View extends BaseView{
        void showData(ScanDataBean data);
        void loadFail(String s);
        void showDialogData(ScanWelfareBean scanWelfareBean);
        void scanSignSuccess();
        void scanSignFail(String s);
    }

    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getScanData(String code);

        public abstract void getDialogData(String code);
        public abstract void scanSign(String eventId,String customerNo);
    }

}
